<?php
namespace Pm\Controllers;

use Helpers\Main;
use Helpers\Controller;
use Helpers\User;
use Phalcon\Mvc\View;

class ControllerBase extends Controller
{
    public function beforeExecuteRoute($dispatcher)
    {
        if (!User::isLogin()) {
            Main::goLoginPage();
            return false;
        }
    }

}
